package service

import (
	"github.com/go-kratos/kratos/v2/log"
	"kratos-realword/internal/dao"
)

type CommentService struct {
	commentDao dao.CommentDao
	log        *log.Helper
}

func NewCommentService(commentDao dao.CommentDao, logger log.Logger) *CommentService {
	return &CommentService{commentDao: commentDao, log: log.NewHelper(logger)}
}
